package com.guoyh.baseutils.aroute

import android.os.Bundle
import com.alibaba.android.arouter.launcher.ARouter
import com.guoyh.baseutils.ext.getFragmentForPath

/**
 * @CreateDate: 2021/8/7 5:32 下午
 * @Author: guoyh
 * @Description: java类作用描述
 */
open class BasePath {
    fun getFragment(path: String) =
        getFragmentForPath(path)


    fun startAct(path:String,bundle:Bundle = Bundle()) {
        ARouter.getInstance().build(path).with(bundle).navigation()
    }
}